from django.db import models



class ProjectCaseModule(models.Model):
    module_id = models.IntegerField(primary_key=True,null=True,verbose_name="模块ID")
    module_name = models.CharField(max_length=50,verbose_name="模块名称")
    project_id = models.IntegerField(null=True,verbose_name="项目ID")
    parent_id = models.IntegerField(verbose_name="父模块ID")
    ancestors = models.CharField(max_length=100,verbose_name="祖模块列表")
    order_num = models.IntegerField(verbose_name="显示顺序")
    create_by = models.CharField(max_length=64,verbose_name="创建者")
    create_time = models.DateTimeField(auto_now=True,verbose_name="创建时间")
    update_by = models.CharField(max_length=64,verbose_name="更新者")
    update_time = models.DateTimeField(auto_now=True,verbose_name="更新时间")
    remark = models.CharField(max_length=200,verbose_name="备注")